I reviewed the basic CSS knowledge the day before yesterday and learned some layout knowledge yesterday. Today is the third day. I started to create a CSS + Div layout page by myself. The process of making the first page of the camel was very depressing, with countless errors in the middle. However, it is these errors that make camels see different theoretical knowledge and practices. So, camels summed up their mistakes. Although they are naive, they are always a process of growth ~ 0 ~, It is w
1 If (e. Item. ItemType = ListItemType. AlternatingItem Or e. Item. ItemType = ListItemType. Item Or e. Item. ItemType = ListItemType. EditItem) Then
2 Dim dc_name As HyperLink = CType (e. Item. FindControl ("dc_name"), HyperLink)
3 Select Case dc_name.Text
4 Case "news"
5 dc_name.ForeColor = dc_name.ForeColor.FromName ("# 0000FF ")
6 Case "Entertainment"
7 dc_name.ForeColor = dc_name.ForeColor.FromName ("# FF6600 ")
8 Case "Sports"
9 dc_name.
Every week to have front-end sharing, I would like to share the C3 animation, preparation work to draw a pig head first. The result was a decisive abandonment???? Attached codeHtmlBody {Background: #ff6600;}. body {position:relative;top:50px;left:50%;width:300px;Margin-left: -150px;}. face {height:180px;width:180px;Background:white;border-radius:50%;border:15px solid white;Position:absolute;Top: -10px;Left: -30px;}. Eyes:before,. eyes:after {Content:
= ext.encode (record.data);//Assemble a string, this needs to be done by yourself, and here I serialize him.
var rowel = Ext.get (E.gettarget ());//Convert Target to Ext.element object
Rowel.set ({
' Ext:qtip ': str//Set its Tip property
},false);
}
});
---------------------------------------------------------------------------------
JS Code
Copy Code code as follows:
Listeners: {
' Cellclick ': function (grid,rowindex,columnindex,e) {}
}
This is the event that i
record of this columnVar str = Ext. encode (record. data); // assemble a string. You need to complete it yourself. Here I serialize it.Var rowEl = Ext. get (e. getTarget (); // converts target to an Ext. Element Object.RowEl. set ({'Ext: qtip ': str // you can specify its tip attribute.}, False );}});
---------------------------------------------------------------------------------Js CodeCopy codeThe Code is as follows: listeners :{'Cellclick': function (grid, rowIndex, columnIndex, e ){}}// Th
We'll look at the "what CSS selectors" to the change an HTML5 inputs placeholder color. This can differ from browser to browser, so, we'll make sure to cover all of the cases./*Chrome, Opera, Safari*/::-webkit-input-placeholder{Color:#ff6600;Opacity:1; }/*Firefox 19+*/::-moz-placeholder{Color:#ff6600;Opacity:1; }/*Firefox and below*/:-moz-placeholder{Color:#ff6600
inadvertently see a pure CSS to do the arrow navigation (flow), collection, for a rainy futureActual effect
Step One
Step Two
Step Three
Step Four
Source:Html: Css:. wrapper{padding:20px;}. flow-steps{position:relative; height:30px; list-style:none; font-size:14px; overflow:hidden;}. flow-steps li{float:left; height:30px; margin-right:-32px; background: #d7d7d7; line-height:30px; overflow:hidden;}. flow-steps a{Display:block; float:left; width:
editing window, put the mouse over the border between the two frames, the cursor will become up and down arrow, click on the border, select the entire frameset.8. The properties of the entire frame group appear on the property panel at this time. Here you can set whether the frameset has borders, widths, colors, and so on. But the most important thing is that you can set the size of each frame in the frameset here.9, in the property panel on the right side of the icon to select the above frame,
CSS defines hyperlinks in a sequential order. Otherwise, there may be bugs in some browsers where a style does not work. The desired effect is not displayed correctly.The order in which CSS properties are arranged: L-v-h-a.L-v-h-a is a shorthand for link, visited, hover, and active.Each of them representsA:link Default style for hyperlinksA:visited visited (already seen) Link stylesA:hover link style with mouse hover stateA:active when the left mouse button is pressed, is activated (is the mouse
column is obtained (because false is returned if the input target column is not obtained)Var record = store. getAt (index); // obtain the record of this columnVar str = Ext. encode (record. data); // assemble a string. You need to complete it yourself. Here I serialize it.Var rowEl = Ext. get (e. getTarget (); // converts target to an Ext. Element Object.RowEl. set ({'Ext: qtip ': str // you can specify its tip attribute.}, False );}});
----------------------------------------------------------
: Adjust the width and height of the link text screen;
Scrollamount = 1: the speed of font scrolling. The larger the number, the faster the speed;
You can also
Nice-looking font colors include:
Dark red # ff6600; red # ff0000; pink # ff66cc; light red # ff66ff;
Green # ccff00; Purple # ff33ff; yellow # ffff33; golden red # cc0000;
Sky Blue #66 FFFF; grass green #66cc00; dark blue # 3333ff; Orange # ff9900;
Dark green #339900; white # ffffff;
I accidentally found some new HTML tags. I don't know which version I started from. Maybe I am falling behind. I only found them today.First look at the effect:
Group
Group details
Group
Group details
Is it similar to the group component in winform?
Code Yes. Fieldset Style = "Width: Auto" > Legend Style = "Color: # ff6600" > Group Legend > Group details Fieldset > Fieldset Style = "Border-Righ
=c.createlineargradient (0, C.canvas.height-grassheight,0,c.canvas.height); Specifies a gradient for a linear gradient, 0 for the starting color of the ramp, and 1 for the gradient stop color grad.addcolorstop (0, ' #33CC00 '); Grad.addcolorstop (1, ' #66FF22 '); C.fillstyle=grad; c.linewidth=0; C.fillrect (0,c.canvas.height-grassheight,c.canvas.width,grassheight); }Painting Body:function Drawcar () { w.clearrect (0,0,w.canvas.width,w.canvas.height);//Empty The hidden artboard
complete it yourself. Here I serialize it.Var rowEl = Ext. get (e. getTarget (); // converts target to an Ext. Element Object.RowEl. set ({'Ext: qtip ': str // you can specify its tip attribute.}, False );}});
---------------------------------------------------------------------------------
Js CodeListeners :{'Cellclick': function (grid, rowIndex, columnIndex, e ){}}// This event is triggered when a grid cell is clicked.
Js CodeGrid. getView (). getCell (rowIndex, columnIndex). style. backgroun
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.